package com.neu.service.impl;

import com.neu.mapper.BannerMapper;
import com.neu.service.BannerService;
import com.neu.vo.BannerVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BannerServiceImpl implements BannerService {
    @Autowired
    BannerMapper bannerMapper;
    @Override
    public List<BannerVO> findAllBanner() {
        return bannerMapper.findAllBanner();
    }
}
